Class imbalance

Resources

Code

Approaches

Resampling

Oversampling

Undersampling

Adjust the class importance or the metric

Cost-sensitive training

Select or create a suitable algorithm